package nbcp

import nbcp.TestBase
import org.apache.http.client.utils.URLEncodedUtils
import org.junit.Test
import org.springframework.http.MediaType
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders
import org.springframework.test.web.servlet.result.MockMvcResultHandlers
import nbcp.db.CodeName
import nbcp.db.IdName
import nbcp.base.comm.JsonMap
import nbcp.base.comm.ToNameValuePairs
import nbcp.base.extend.*
import nbcp.base.utils.MyUtil
import nbcp.db.IdUrl
import java.nio.charset.Charset
import java.time.Duration
import java.time.LocalDateTime


class TestData : TestBase() {
    @Test
    fun abc(){
        var u = """{"id":"","url":"/abc.jpg"}""".FromJson<IdUrl>()

        println(u.ToJson())
    }
}

